package app.caihan.wanandroid.base

import app.caihan.scframe.base.fragment.BaseVmDbFragment
import app.caihan.scframe.base.viewmodel.BaseViewModel
import app.caihan.scframe.ktx.getAppViewModel
import app.caihan.wanandroid.base.event.AppViewModel


abstract class WanBaseFragment<VM : BaseViewModel> : BaseVmDbFragment<VM>() {

    //Application全局的ViewModel，里面存放了一些账户信息，基本配置信息等
    protected val appViewModel: AppViewModel by lazy { getAppViewModel<AppViewModel>() }
}